/**
 * @(#)ApkConfigController.java 2017年03月1日
 * Copyright(C) 2017 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.action;

import java.util.Map;
import org.jsbd.boss.domian.BookCompany;
import org.jsbd.boss.domian.WbUserReqDataLog;
import org.jsbd.boss.service.IBookCompanyService;
import org.jsbd.boss.service.IUserReqDataLogService;
import org.jsbd.boss.common.DataGridModel;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/userReqDataLog")
public class UserReqDataLogController {

	public static final Logger logger = LoggerFactory.getLogger(UserReqDataLogController.class);

	@Autowired
	private IUserReqDataLogService userReqDataLogService;

	@RequestMapping(value = "list", method = RequestMethod.GET)
	public String list(Model model) {
		return "userReqDataLog/list";
	}

	@RequestMapping(value = "getListPage")
	@ResponseBody
	public Map<String, Object> getListPage(DataGridModel page, WbUserReqDataLog log) throws Exception {
		return userReqDataLogService.getListPage(page, log);
	}

}
